From a52dd5d7acd06d92e27c8a96fe010963ec5b8275 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Tue, 21 Dec 2021 16:42:56 +0100
Subject: chore: add a sharing component

---
 src/pages/article/[slug].tsx | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'src/pages/article/[slug].tsx')

diff --git a/src/pages/article/[slug].tsx b/src/pages/article/[slug].tsx
index 1fa65fa..54391fc 100644
--- a/src/pages/article/[slug].tsx
+++ b/src/pages/article/[slug].tsx
@@ -3,6 +3,7 @@ import CommentsList from '@components/CommentsList/CommentsList';
 import { getLayout } from '@components/Layouts/Layout';
 import PostFooter from '@components/PostFooter/PostFooter';
 import PostHeader from '@components/PostHeader/PostHeader';
+import Sharing from '@components/Sharing/Sharing';
 import ToC from '@components/ToC/ToC';
 import { t } from '@lingui/macro';
 import { getAllPostsSlug, getPostBySlug } from '@services/graphql/queries';
@@ -43,6 +44,7 @@ const SingleArticle: NextPageWithLayout<ArticleProps> = ({ post }) => {
         <ToC />
         <div dangerouslySetInnerHTML={{ __html: content }}></div>
         <PostFooter subjects={subjects} />
+        <Sharing title={title} excerpt={intro} />
         <section>
           <h2>{t`Comments`}</h2>
           <CommentsList comments={comments} />
-- 
cgit v1.2.3

